﻿@model UniversityCourses.Models.SignInModel
@{
    ViewBag.Title = "Sign up";
    Layout = "~/Views/Shared/SiteLayout.cshtml";
    Html.EnableClientValidation();
}



<div class="login-form">
    <img src="../../Images/students.jpg" alt="students" />
    <div>
        @using (Html.BeginForm("Signin", "Account", FormMethod.Post, new {id="createform", name="createform"})) {            
            <div class="field">
                @Html.LabelFor(m => m.Email)
                @Html.TextBoxFor(m => m.Email)
                @Html.ValidationMessageFor(model => model.Email)
            </div>
            <div class="field">
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password)
                @Html.ValidationMessageFor(model => model.Password)
            </div>
            <div class="field">
                @Html.LabelFor(m => m.ConfirmPassword)
                @Html.PasswordFor(m => m.ConfirmPassword)    
                @Html.ValidationMessageFor(model => model.ConfirmPassword)
            </div>    
            <a  href="javascript:document.createform.submit();">create account</a>            
        }
    </div>
</div>